package com.fingard.dsp.bank.reqrespobj.invoicemsg;

import com.fingard.xml.XElement;

public class ReqInvoiceMsgQryDetail {
	
	//成功标志
	public String RESULT_FLAG = "";
	//结果信息
	public String MSG = "";
	//开票经销商名称
	public String InvoiceDealerName="";
    //启票经销商名称
    public String BillDealerName="";
    //发票号码
    public String InvoiceNo ="";
    //发票代码
    public String InvoiceCode ="";
    //开票日期 yyyymmdd
    public String InvoiceDate="";
    //VIN码
    public String VinCode="";
    //开票价格
    public String InvoicePrice="";
    //实销价格
    public String SalePrice="";
    // 发票状态 0:正数发票',1:负数发票,2:空白作废,3:填开作废,4:负数作废
    public String InvoiceStatus="";
    //车型代码
    public String CarTypeCode="";
    //车架号
    public String VIN="";
    //资金类型
    public String CashType="";
    //预留字段1
    public String Reserve1="";
    //预留字段2
    public String Reserve2="";
    //预留字段3
    public String Reserve3="";
    //合格证号码
    public String certificationNo ="";


    public ReqInvoiceMsgQryDetail(){
    	
    }
    
    public ReqInvoiceMsgQryDetail(XElement p_xelement, String p_transType, String p_bankCode) throws Exception {
    	
    	BillDealerName = p_xelement.getSingleText("BillDealerName");
        InvoiceDealerName = p_xelement.getSingleText("InvoiceDealerName");
        InvoiceNo = p_xelement.getSingleText("InvoiceNo");
        CashType = p_xelement.getSingleText("CashType");
        InvoiceCode = p_xelement.getSingleText("InvoiceCode");
        VIN = p_xelement.getSingleText("VIN");
        InvoiceDate = p_xelement.getSingleText("InvoiceDate");
        VinCode = p_xelement.getSingleText("VinCode");
        InvoicePrice = p_xelement.getSingleText("InvoicePrice");
        SalePrice = p_xelement.getSingleText("SalePrice");
        InvoiceStatus = p_xelement.getSingleText("InvoiceStatus");
        Reserve1 = p_xelement.getSingleText("Reserve1");
        Reserve2 = p_xelement.getSingleText("Reserve2");
        Reserve3 = p_xelement.getSingleText("Reserve3");
        certificationNo =p_xelement.getSingleText("CertificationNo");
    	
    }
}
